// $Id: RelationsPage.java 11 2011-09-08 21:03:19Z huijzer@gmail.com $
package lime.browser.editor;

import lime.Activator;

import org.eclipse.swt.graphics.Image;
import org.eclipse.ui.forms.IManagedForm;
import org.eclipse.ui.forms.editor.FormEditor;
import org.eclipse.ui.forms.editor.FormPage;
import org.eclipse.ui.forms.widgets.ScrolledForm;
import org.eclipse.ui.plugin.AbstractUIPlugin;

public class RelationsPage extends FormPage {

	public RelationsPage(FormEditor editor) {
		super(editor, "relations", "Relations");
	}

	@Override
	protected void createFormContent(IManagedForm managedForm) {
	
		ScrolledForm scrolledForm = managedForm.getForm();
		scrolledForm.setText("Relations");
		Image image = AbstractUIPlugin.imageDescriptorFromPlugin(Activator.PLUGIN_ID, "icons/sitemap.png").createImage(); 
		scrolledForm.setImage(image);
		managedForm.getToolkit().decorateFormHeading(scrolledForm.getForm());
		
	}
	
}
